package com.ruoyi.graduate.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.graduate.domain.entity.MsMessageBoard;
import com.ruoyi.graduate.domain.param.MsMessageBoardAddParam;
import com.ruoyi.graduate.domain.param.MsMessageBoardPageParam;
import com.ruoyi.graduate.domain.param.MsMessageBoardUpdataParam;
import com.ruoyi.graduate.domain.param.MsMessageBoardUserPageParam;
import com.ruoyi.graduate.domain.vo.MsMessageBoardDetailVo;
import com.ruoyi.graduate.domain.vo.MsMessageBoardUserPageVo;

import java.util.List;

public interface IMsMessageBoardService extends IService<MsMessageBoard> {

    PageInfo pageList(MsMessageBoardPageParam param);

    MsMessageBoardDetailVo detail(Integer id);

    AjaxResult add(MsMessageBoardAddParam param);

    AjaxResult updata(MsMessageBoardUpdataParam param);

    List<MsMessageBoardUserPageVo> userPageList(Integer id);

    AjaxResult delete(Integer id);
}
